package ModelLayer;

public class Currency {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private int id_currency;
    private String name;
    private String iso_code;
    private String sign;
    private boolean blank;
    private int format;
    private boolean decimals;
    private float conversion_rate;
    private boolean deleted;
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public Currency() {
    }

    public Currency(int id_currency, String name, String iso_code, String sign, boolean blank, int format, boolean decimals, float conversion_rate, boolean deleted) {
        this.id_currency     = id_currency;
        this.name            = name;
        this.iso_code        = iso_code;
        this.sign            = sign;
        this.blank           = blank;
        this.format          = format;
        this.decimals        = decimals;
        this.conversion_rate = conversion_rate;
        this.deleted         = deleted;
    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Set & Get Methods">
    //Set & Get: ID
    public void setIDCurrency(int id_currency) {
        this.id_currency = id_currency;
    }
    public int getIDCurrency() {
        return this.id_currency;
    }

    //Set & Get: Name
    public void setName(String name) {
        this.name = name;
    }
    public String getName() {
        return this.name;
    }

    //Set & Get: Iso_Code
    public void setIsoCode(String iso_code) {
        this.iso_code = iso_code;
    }
    public String getIsoCode() {
        return this.iso_code;
    }

    //Set & Get: Sign
    public void setSign(String sign) {
        this.sign = sign;
    }
    public String getSign() {
        return this.sign;
    }

    //Set & Get: Blank
    public void setBlank(boolean blank) {
        this.blank = blank;
    }
    public boolean getBlank() {
        return this.blank;
    }

    //Set & Get: Format
    public void setFormat(int format) {
        this.format = format;
    }
    public int getFormat() {
        return this.format;
    }

    //Set & Get: Decimals
    public void setDecimals(boolean decimals) {
        this.decimals = decimals;
    }
    public boolean getDecimals() {
        return this.decimals;
    }

    //Set & Get: Conversion_Rate
    public void setConversionRate(float conversion_rate) {
        this.conversion_rate = conversion_rate;
    }
    public float getConversionRate() {
        return this.conversion_rate;
    }

    //Set & Get: Deleted
    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
    public boolean getDeleted() {
        return this.deleted;
    }
    // </editor-fold>
}
